package com.lxmes.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 物料质检规则对象 nc_material_inspection_rules
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcMaterialInspectionRules", description = "物料质检规则对象")
public class NcMaterialInspectionRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    @ApiModelProperty("供应商编码")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 检材类型 */
    @Excel(name = "检材类型")
    @ApiModelProperty("检材类型")
    private String sampleType;

    /** 物料子编号 */
    @Excel(name = "物料子编号")
    @ApiModelProperty("物料子编号")
    private String materialSubcode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 物料类型 */
    @Excel(name = "物料类型")
    @ApiModelProperty("物料类型")
    private String materialType;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @ApiModelProperty("物料单位")
    private String materialUnit;

    /** 质检控制 */
    @Excel(name = "质检控制")
    @ApiModelProperty("质检控制")
    private String qualityControl;

    /** 质量状态 */
    @Excel(name = "质量状态")
    @ApiModelProperty("质量状态")
    private String qualityStatus;

    /** 质检节点 */
    @Excel(name = "质检节点")
    @ApiModelProperty("质检节点")
    private String inspectionNode;

    /** 检验项目 */
    @Excel(name = "检验项目")
    @ApiModelProperty("检验项目")
    private String inspectionItem;

    /** 抽检类型 */
    @Excel(name = "抽检类型")
    @ApiModelProperty("抽检类型")
    private String samplingType;

    /** 检验标准 */
    @Excel(name = "检验标准")
    @ApiModelProperty("检验标准")
    private String inspectionStandard;

    /** 抽样方案 */
    @Excel(name = "抽样方案")
    @ApiModelProperty("抽样方案")
    private String samplingPlan;

    /** 检验方法 */
    @Excel(name = "检验方法")
    @ApiModelProperty("检验方法")
    private String inspectionMethod;

    /** 取样位置 */
    @Excel(name = "取样位置")
    @ApiModelProperty("取样位置")
    private String samplingPosition;

    /** 合格判定标准 */
    @Excel(name = "合格判定标准")
    @ApiModelProperty("合格判定标准")
    private String acceptanceCriteria;

    /** 检验结果 */
    @Excel(name = "检验结果")
    @ApiModelProperty("检验结果")
    private String inspectionResult;

    /** 抽检数比 */
    @Excel(name = "抽检数比")
    @ApiModelProperty("抽检数比")
    private Long samplingRatio;

    /** 破坏数量 */
    @Excel(name = "破坏数量")
    @ApiModelProperty("破坏数量")
    private Long destructiveQuantity;

    /** 承担主体 */
    @Excel(name = "承担主体")
    @ApiModelProperty("承担主体")
    private String responsibleParty;

    /** 检验地点 */
    @Excel(name = "检验地点")
    @ApiModelProperty("检验地点")
    private String inspectionLocation;

    /** 检验单位编码 */
    @Excel(name = "检验单位编码")
    @ApiModelProperty("检验单位编码")
    private String inspectionUnitCode;

    /** 检验单位名称 */
    @Excel(name = "检验单位名称")
    @ApiModelProperty("检验单位名称")
    private String inspectionUnitName;

    /** 质检员工号 */
    @Excel(name = "质检员工号")
    @ApiModelProperty("质检员工号")
    private String inspectorEmployeeCode;

    /** 质检员姓名 */
    @Excel(name = "质检员姓名")
    @ApiModelProperty("质检员姓名")
    private String inspectorName;

    /** 检具类型 */
    @Excel(name = "检具类型")
    @ApiModelProperty("检具类型")
    private String measuringToolType;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setSupplierCode(String supplierCode)
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode()
    {
        return supplierCode;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setSampleType(String sampleType)
    {
        this.sampleType = sampleType;
    }

    public String getSampleType()
    {
        return sampleType;
    }
    public void setMaterialSubcode(String materialSubcode)
    {
        this.materialSubcode = materialSubcode;
    }

    public String getMaterialSubcode()
    {
        return materialSubcode;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setMaterialType(String materialType)
    {
        this.materialType = materialType;
    }

    public String getMaterialType()
    {
        return materialType;
    }
    public void setMaterialUnit(String materialUnit)
    {
        this.materialUnit = materialUnit;
    }

    public String getMaterialUnit()
    {
        return materialUnit;
    }
    public void setQualityControl(String qualityControl)
    {
        this.qualityControl = qualityControl;
    }

    public String getQualityControl()
    {
        return qualityControl;
    }
    public void setQualityStatus(String qualityStatus)
    {
        this.qualityStatus = qualityStatus;
    }

    public String getQualityStatus()
    {
        return qualityStatus;
    }
    public void setInspectionNode(String inspectionNode)
    {
        this.inspectionNode = inspectionNode;
    }

    public String getInspectionNode()
    {
        return inspectionNode;
    }
    public void setInspectionItem(String inspectionItem)
    {
        this.inspectionItem = inspectionItem;
    }

    public String getInspectionItem()
    {
        return inspectionItem;
    }
    public void setSamplingType(String samplingType)
    {
        this.samplingType = samplingType;
    }

    public String getSamplingType()
    {
        return samplingType;
    }
    public void setInspectionStandard(String inspectionStandard)
    {
        this.inspectionStandard = inspectionStandard;
    }

    public String getInspectionStandard()
    {
        return inspectionStandard;
    }
    public void setSamplingPlan(String samplingPlan)
    {
        this.samplingPlan = samplingPlan;
    }

    public String getSamplingPlan()
    {
        return samplingPlan;
    }
    public void setInspectionMethod(String inspectionMethod)
    {
        this.inspectionMethod = inspectionMethod;
    }

    public String getInspectionMethod()
    {
        return inspectionMethod;
    }
    public void setSamplingPosition(String samplingPosition)
    {
        this.samplingPosition = samplingPosition;
    }

    public String getSamplingPosition()
    {
        return samplingPosition;
    }
    public void setAcceptanceCriteria(String acceptanceCriteria)
    {
        this.acceptanceCriteria = acceptanceCriteria;
    }

    public String getAcceptanceCriteria()
    {
        return acceptanceCriteria;
    }
    public void setInspectionResult(String inspectionResult)
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult()
    {
        return inspectionResult;
    }
    public void setSamplingRatio(Long samplingRatio)
    {
        this.samplingRatio = samplingRatio;
    }

    public Long getSamplingRatio()
    {
        return samplingRatio;
    }
    public void setDestructiveQuantity(Long destructiveQuantity)
    {
        this.destructiveQuantity = destructiveQuantity;
    }

    public Long getDestructiveQuantity()
    {
        return destructiveQuantity;
    }
    public void setResponsibleParty(String responsibleParty)
    {
        this.responsibleParty = responsibleParty;
    }

    public String getResponsibleParty()
    {
        return responsibleParty;
    }
    public void setInspectionLocation(String inspectionLocation)
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation()
    {
        return inspectionLocation;
    }
    public void setInspectionUnitCode(String inspectionUnitCode)
    {
        this.inspectionUnitCode = inspectionUnitCode;
    }

    public String getInspectionUnitCode()
    {
        return inspectionUnitCode;
    }
    public void setInspectionUnitName(String inspectionUnitName)
    {
        this.inspectionUnitName = inspectionUnitName;
    }

    public String getInspectionUnitName()
    {
        return inspectionUnitName;
    }
    public void setInspectorEmployeeCode(String inspectorEmployeeCode)
    {
        this.inspectorEmployeeCode = inspectorEmployeeCode;
    }

    public String getInspectorEmployeeCode()
    {
        return inspectorEmployeeCode;
    }
    public void setInspectorName(String inspectorName)
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName()
    {
        return inspectorName;
    }
    public void setMeasuringToolType(String measuringToolType)
    {
        this.measuringToolType = measuringToolType;
    }

    public String getMeasuringToolType()
    {
        return measuringToolType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("sampleType", getSampleType())
            .append("materialSubcode", getMaterialSubcode())
            .append("materialName", getMaterialName())
            .append("materialType", getMaterialType())
            .append("materialUnit", getMaterialUnit())
            .append("qualityControl", getQualityControl())
            .append("qualityStatus", getQualityStatus())
            .append("inspectionNode", getInspectionNode())
            .append("inspectionItem", getInspectionItem())
            .append("samplingType", getSamplingType())
            .append("inspectionStandard", getInspectionStandard())
            .append("samplingPlan", getSamplingPlan())
            .append("inspectionMethod", getInspectionMethod())
            .append("samplingPosition", getSamplingPosition())
            .append("acceptanceCriteria", getAcceptanceCriteria())
            .append("inspectionResult", getInspectionResult())
            .append("samplingRatio", getSamplingRatio())
            .append("destructiveQuantity", getDestructiveQuantity())
            .append("responsibleParty", getResponsibleParty())
            .append("inspectionLocation", getInspectionLocation())
            .append("inspectionUnitCode", getInspectionUnitCode())
            .append("inspectionUnitName", getInspectionUnitName())
            .append("inspectorEmployeeCode", getInspectorEmployeeCode())
            .append("inspectorName", getInspectorName())
            .append("measuringToolType", getMeasuringToolType())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
